<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
	    <meta name="csrf-token" content="{{ csrf_token() }}"/>
		<meta name="viewport" content="width=device-width,maximum-scale=1,minimum-scale=1,initial-scale=1">
		<title></title>
		<link rel="stylesheet" href="{{asset('css/app/jquery-weui.min.css')}}" />
		<link rel="stylesheet" href="{{asset('css/app/weui.min.css')}}" />
		@yield('layui_css')
		{{-- <link rel="stylesheet" href="{{asset('fonts/iconfont.css')}}" /> --}}
		<link rel="stylesheet" href="{{asset('fonts/themify-icons.css')}}" />
		<link rel="stylesheet" href="//at.alicdn.com/t/c/font_4322727_lgks96rkj29.css" />
		<link rel="stylesheet" href="{{asset('css/app/main.css?v='.time())}}" />
        @yield('css')
	</head>

	<body>
        @yield('content')
        <script type="text/javascript" src="{{ config('app.url') }}/js/jquery.min.js"></script>
		<script type="text/javascript" src="{{ config('app.url') }}/js/jquery-weui.min.js"></script>
		<script type="text/javascript" src="{{ config('app.url') }}/js/swiper.min.js"></script>
		<script type="text/javascript" src="{{ config('app.url') }}/js/main.js"></script>
        <script>
            $(function() {
				// FastClick.attach(document.body);
                $.ajaxSetup({
                    headers: {
                        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                    }
                })
            })
        </script>
        @yield('script')
	</body>
</html>